{%include file="m.index.header.tpl.php"%}
<!--主体部分-->
<div class="container" style="margin-top:70px;">
    <div class="row row_margin">
        <form class="form-horizontal" role="form" action="" method="post">
            <div class="form-group">
                <label for="" class="col-sm-2  control-label">奖励行为：</label>
                <div class="col-sm-10 ">
                    <input type="text" class="form-control" name="award_title">                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-2  control-label">奖励学分：</label>
                <div class="col-sm-10 ">
                    <input type="number" class="form-control" name="award_credit" min="0">
                </div>
            </div>
            <div class="row row_margin" >
                <button type="submit" class="btn btn-primary btn-lg btn-block btn-primary2">确定</button>
            </div>
        </form>
    </div>
    <!--row  end-->


</div>
<!--container  end-->
<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<script src="mstatic/js/jquery-ui-timepicker-addon.js"  type="text/javascript"></script><!--日历-->
<script src="mstatic/js/jquery.ui.datepicker-zh-CN.js.js" type="text/javascript" charset="gb2312"></script><!--中文 日历-->
<script src="mstatic/js/jquery-ui-timepicker-zh-CN.js" type="text/javascript"></script><!--中文 日历-->
<script type="text/javascript">
    jQuery(function () {
        // 时间设置
        jQuery('#datepicker').datetimepicker({
            timeFormat: "HH:mm:ss",
            dateFormat: "yy-mm-dd"
        });


        jQuery('#datepicker2').datetimepicker({
            timeFormat: "HH:mm:ss",
            dateFormat: "yy-mm-dd"
        });




    });



</script>
<script type="text/javascript">
    $(document).ready(function(){
        $("#new").hide();
        $("#add").hide();

        $("#add").click(function(){
            $("#s1").append("<option>"+$("#new").val()+"</option>");
            $("#new").val('');
        });
    });
    function a()
    {
        var val = $("#s1").val();
        if (val == '自定义') {
            $("#new").show();
            $("#add").show();
        } else{
            //alert(val);
        };
    }
</script>

<!--datepicker 年月日   dtimepiece时分秒-->
<!--日历-->
<script>
    $(function() {
        $( "#datepicker" ).datepicker({

            changeMonth: true,
            changeYear: true

        });

        $( "#datepicker2" ).datepicker({

            changeMonth: true,
            changeYear: true

        });
    });
</script>

<!--编辑器-->
<script type="text/javascript" src="mstatic/xhe/xheditor-1.2.2.min.js"></script>
<script type="text/javascript" src="mstatic/xhe/xheditor_lang/zh-cn.js"></script>
<script type="text/javascript">
    $(pageInit);
    function pageInit()
    {
        $.extend(XHEDITOR.settings,{shortcuts:{'ctrl+enter':submitForm}});//修改默认设置
        $('#category_content').xheditor({modalWidth:700,modalHeight:500,upBtnText:'浏览',upLinkUrl:"!ckfinder/upload.html",upImgUrl:"!ckfinder/upload.html?type=Images",upFlashUrl:"!ckfinder/upload.html?type=Flash",upMediaUrl:"!ckfinder/upload.html"});
    }
    function submitForm(){$('#myform').submit();}
</script>
</body>
</html>
